import java.awt.*;

public class Board {

	public void draw(Graphics g) {
		g.drawRect(40, 40, 600, 600);
		
		
		for(int i = 0;i<64;i++){
			g.setColor(Color.darkGray);

			g.drawRect(40+(i%8)*75, 40+(i/8)*75, 75, 75);
			i++;
			g.setColor(Color.darkGray);
			g.drawRect(40+(i%8)*75, 40+(i/8)*75, 75, 75);
			g.setColor(Color.WHITE);
			

			//g.fillRect(40+(i%8)*50, 40+(i/8)*50, 50, 50);

			
			
		}
		g.setColor(Color.BLACK);
		g.drawString("A", 40+75/2, 30);
		g.drawString("B", 40+75/2+75, 30);
		g.drawString("C", 40+75/2+75*2, 30);
		g.drawString("D", 40+75/2+75*3, 30);
		g.drawString("E", 40+75/2+75*4, 30);
		g.drawString("F", 40+75/2+75*5, 30);
		g.drawString("G", 40+75/2+75*6, 30);
		g.drawString("H", 40+75/2+75*7, 30);
		

		g.drawString("1", 30 ,40+75/2);
		g.drawString("2", 30 ,40+75/2+75);
		g.drawString("3", 30 ,40+75/2+75*2);
		g.drawString("4", 30 ,40+75/2+75*3);
		g.drawString("5", 30 ,40+75/2+75*4);
		g.drawString("6", 30 ,40+75/2+75*5);
		g.drawString("7", 30 ,40+75/2+75*6);
		g.drawString("8", 30 ,40+75/2+75*7);


		

		
		
		
		
	}

}
